Add test for comment-only line followed by a template transclusion
[lhc/web/wiklou.git] / tests / parser / parserTests.txt
index a4e32ab..cb3a4ae 100644 (file)
@@ -6173,6 +6173,19 @@ bar <div>baz</div>
 
 !!end
 
+!!test
+Templates: P-wrapping: 1d. Template preceded by comment-only line
+!!options
+parsoid
+!!input
+<!-- foo -->
+{{echo|Bar}}
+!!result
+<!-- foo -->
+<p>Bar
+</p>
+!!end
+
 !!test
 Templates: Inline Text: 1. Multiple tmeplate uses
 !!input